package com.jiaobeng;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * @author leonard
 * @Description
 * @date 2021-06-04 11:24
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ApiBO {

    private String api = "";
    private String name = "";
    private String returnParam = "";
    private String fields = "";

    private List<ApiBO> children = new ArrayList<>();

    public ApiBO(String name,List<ApiBO> children) {
        this.name = name;
        this.children = children;
    }
}
